package com.反射Reflection.Class类;

public class Cat {
    public int price = 1000;
    public String name = "狸花猫";
    public String color = "黑色";

    public void hi1(){
        System.out.println("hi1");
    }
    public void hi2(int n){
        System.out.println("hi2 (int n)");
    }
    public void hi3(String str){
        System.out.println("hi3 (String str)");
    }
    public void hi4(int n , String str){
        System.out.println("hi4 (int n , String str)");
    }

    @Override
    public String toString() {
        return "Cat{" +
                "price=" + price +
                ", name='" + name + '\'' +
                ", color='" + color + '\'' +
                '}';
    }
}
